<#macro navigator current>
	<div class="page-sidebar-wrapper">
	    <!-- BEGIN SIDEBAR -->
	    <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
	    <!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
	    <div class="page-sidebar navbar-collapse collapse">
	        <!-- BEGIN SIDEBAR MENU -->
	        <!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) -->
	        <!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode -->
	        <!-- DOC: Apply "page-sidebar-menu-closed" class right after "page-sidebar-menu" to collapse("page-sidebar-closed" class must be applied to the body element) the sidebar sub menu mode -->
	        <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
	        <!-- DOC: Set data-keep-expand="true" to keep the submenues expanded -->
	        <!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed -->
	        <ul class="page-sidebar-menu   " data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200">
	            <li class="nav-item <#if current=="首页">active</#if>">
	                <a href="${context}/base/index_ftl" class="nav-link nav-toggle">
	                    <i class="icon-home"></i>
	                    <span class="title">首页</span>
	                </a>
	            </li>
	            <#if user ??>
	            <#list func_list as list>
	            	<#if list.pid=="">
		            	<li class="nav-item <#if current==list.function_name>active</#if>">
			                <a href="<#if (list.nodeNum>0)>javascript:;<#else>${context}${list.function_address}?pageClear=YES</#if>" class="nav-link nav-toggle">
			                    <i class="icon-home"></i>
			                    <span class="title">${list.function_name}</span>
			                    <#if (list.nodeNum>0)><span class="arrow"></span></#if>
			                </a>
			                <#if (list.nodeNum>0)>
				                <ul class="sub-menu">
				                	  <#list func_list as list2>
						                 <#if list2.pid==list.id>
							                        <li class="nav-item <#if current==list2.function_name>active</#if>">
							                            <a href="${context}${list2.function_address}?pageClear=YES" class="nav-link ">
							                                <span class="title">${list2.function_name}</span>
							                            </a>
							                        </li>
					                     </#if>
					                    </#list>
			                    </ul>
		                    </#if>
			            </li>
		            </#if>
	             </#list>
	             </#if>
	        </ul>
	        <!-- END SIDEBAR MENU -->
	    </div>
	    <!-- END SIDEBAR -->
	</div>
</#macro>